export interface APIGetGoodsReqData {
  page: number
  page_size: number
  q: string
}
export interface APIGoodsListItem {
  id: number
  code: string //商品id
  cid: number //商品列表返回的id
  goodsId: string
  title: string //标题
  mainPic: string
  actualPrice: string //券后价
  commissionRate: string //佣金比例
  originalPrice: string
  couponPrice: string //优惠券金额
  commissionPrice: string
  createtime: number
}
export interface APIGetOrderReqData {
  page: number
  size: number
}

export interface APIGetRecordReqData {
  page: number
  page_size: number
  mobile: string
}

export interface APIRecordListItem {
  id: number
  user_id: number
  money: string
  before: string
  after: string
  memo: string
  createtime: number
}

export interface APIGetGoodsDetailReqData {
  goodsId: string
}
export interface APIGoodsDetailPicItem {
  height: number
  hotAreaList: string[]
  img: string
  width: number
}
export interface APIGoodsDetail {
  goodsId: string //商品id
  goodsSign: string
  title: string //标题
  dtitle: string //短标题
  mainPic: string //主图
  imgs: string[] //轮播图
  detailPics: APIGoodsDetailPicItem[] //详情图
  cid: number //分类id
  subdivisionName: string //分类
  originalPrice: number //原价
  couponPrice: number //优惠券抵扣
  actualPrice: number //券后价
  commissionRate: number //佣金比例
  commissionPrice: number //购物金抵扣
  price: string //省心价
  shopName: string //店铺名称
  sellerId: number //店铺id
  shopLogo: string //店铺logo
  descScore: number //描述分
  dsrScore: number //描述相符
  shipScore: number //物流服务
  serviceScore: number //服务态度
  brandName: string //品牌名称
  desc: string //推广文案
  couponEndTime: string //优惠券结束时间
  couponStartTime: string //优惠券开始时间
}

export interface APICreateTaobaoGiftReqData {
  mobile: string
  goodsId: string
  title: string
}
export interface APICreateTaobaoGift {
  available_fee: string
  item_today_num_left: string
  longTpwd: string //复制文案
  rightsId: string
  sendUrl: string //领取链接
  tpwd: string //淘口令
}
